//
//  HYGameInfoGiftCell.m
//  HaiYue
//
//  Created by skyline on 2018/5/16.
//  Copyright © 2018年 skyline. All rights reserved.
//

#import "HYGameInfoGiftCell.h"
@interface  HYGameInfoGiftCell ()
@property (nonatomic, strong) HYLabel *label;
@end
@implementation HYGameInfoGiftCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.backgroundColor = [UIColor whiteColor];
        self.label.hidden = NO;
    }
    return self;
}

- (HYLabel *)label
{
    if (!_label)
    {
        _label = [[HYLabel alloc] initWithText:@"亲，该游戏暂时没有礼包哦~~" textColor:TEXT_GRAY_COLOR textFont:[UIFont systemFontOfSize:TitleFont]];
        [self addSubview:_label];
        [_label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.center.equalTo(self);
        }];
    }
    return _label;
}
@end
